#region Copyright
/// <copyright>
/// Copyright (c) 2007 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#endregion

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Runtime.InteropServices;
using System.Text;

namespace Osh.Configuration
{
	public interface IPlaybackElement : IConfigurationElement
	{
		bool CaptureScreenshots { get; set; }
	}

	[ClassInterface(ClassInterfaceType.None)]
	public class PlaybackElement : ConfigurationElement, IPlaybackElement
	{
		public PlaybackElement()
		{
		}

		[ConfigurationProperty("captureScreenshots", DefaultValue = false)]
		public bool CaptureScreenshots
		{
			get { return (bool)this["captureScreenshots"]; }
			set { this["captureScreenshots"] = value; }
		}
		 
	}
}
